package com.tianshi.pxx.service;

import com.tianshi.pxx.pojo.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> getAll();

    List<Product> search(String keyword);

    int delete(int id);

    List<Product> searchProductsByPrice(Double minPrice, Double maxPrice);

    void updateProduct(Product product);

    void addProduct(Product product);
}
